#### 1-1 一定要先执行默认打印模版的sql成本调整单解释脚本  传入corpidList时刷指定公司 不传时刷全部开启过进销存的公司
curl http://ptjobs.xbongbong.com.cn/pro/v1/script/module/addCostAdjustMenu -X POST -H 'Content-type: application/json' -d '{"corpid":"","userId":"1","corpidList":[],"platform":"web","frontDev":"1","xbbCode":"123456"}'

#### 初始化成本调整单es索引
curl http://ptjobs.xbongbong.com.cn/pro/v1/esInit/formDataMapping -X POST -H 'Content-type: application/json' -d '{"userId":"1","corpid":"1","platform":"web","xbbCode":"123456","frontDev":"1","businessType":1908,"saasMark":1}'

#### 初始化成本调整单子表单es索引
curl http://ptjobs.xbongbong.com.cn/pro/v1/esInit/originDataInit -X POST -H 'Content-type: application/json' -d '{"userId":"1","corpid":"1","platform":"web","xbbCode":"123456","frontDev":"1","businessType":1910,"saasMark":1,"byCorpid":1,"oneCorpid":"1"}'

#### 给成本调整单索引加别名
curl http://ptjobs.xbongbong.com.cn/pro/v1/esInit/addAlias -X POST -H 'Content-type: application/json' -d '{"userId":"1","corpid":"1","platform":"web","xbbCode":"123456","frontDev":"1","businessType":1908,"saasMark":1}'

#### 自动结账
curl http://ptjobs.xbongbong.com.cn/pro/v1/script/settleAccounts/automatic -X POST -H 'Content-type: application/json' -d '{"corpidList":["xbbxing"],"platform":"web","frontDev":"1","xbbCode":"123456","saasMark": 1}'

#### 已开启进销存未开启流水的公司生成流水菜单
curl http://ptjobs.xbongbong.com.cn/pro/v1/script/stockFlowBill/resetting -X POST -H 'Content-type: application/json' -d '{"corpidList":[],"platform":"web","frontDev":"1","xbbCode":"123456","saasMark": 1}'

#### 所有进销存公司生成全量流水
curl http://ptjobs.xbongbong.com.cn/pro/v1/script/stockFlowBill/addAllStockFlowBill -X POST -H 'Content-type: application/json' -d '{"corpidList":[], "platform":"web","frontDev":"1","xbbCode":"123456","saasMark": 1}'

#### 去除结账中redis锁脚本
curl http://ptjobs.xbongbong.com.cn/pro/v1/script/settleAccounts/cleanRedisValue -X POST -H 'Content-type: application/json' -d '{"corpidList":[],"platform":"web","frontDev":"1","xbbCode":"123456","saasMark": 1}'

#### 修复批次流水解释
curl http://ptjobs.xbongbong.com.cn/pro/v1/script/costOptimize/repairBatchFlowBillExplain -X POST -H 'Content-type: application/json' -d '{"userId": "0","corpid": "0","platform": "web","xbbCode": "123456","frontDev": "1","corpidList":[]}'

#### 修复库存流水解释
curl http://ptjobs.xbongbong.com.cn/pro/v1/script/costOptimize/repairStockFlowBillExplain -X POST -H 'Content-type: application/json' -d '{"userId": "0","corpid": "0","platform": "web","xbbCode": "123456","frontDev": "1","corpidList":[]}'

#### 插入默认结账数据
curl http://ptjobs.xbongbong.com.cn/pro/v1/script/settleAccounts/defaultData -X POST -H 'Content-type: application/json' -d '{"userId": "0","corpid": "0","platform": "web","xbbCode": "123456","frontDev": "1","corpidList":[]}'

#### 修复成本为null
curl http://ptjobs.xbongbong.com.cn/pro/v1/script/stockFlowBill/repairCost -X POST -H 'Content-type: application/json' -d '{"corpidList":[],"platform":"web","frontDev":"1","xbbCode":"123456","saasMark": 1}'

#### 修复产品流水数量与成本
curl http://ptjobs.xbongbong.com.cn/pro/v1/script/stockFlowBill/repairFlowProductNumAndCost -X POST -H 'Content-type: application/json' -d '{"corpid":"","dataIdList":[],"platform":"web","frontDev":"1","xbbCode":"123456","saasMark": 1}'